<div class="pageContent">
	<form method="post" action="{:url('Update/edit')}" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="50">
            <div class="unit">
                <label>是否前端显示：</label>
                <input type="radio" name="is_delete" value="0" {eq name="$update.is_delete" value="0"}checked{/eq} />不显示
                <input type="radio" name="is_delete" value="1" {eq name="$update.is_delete" value="1"}checked{/eq} />显示
            </div>
			<div class="unit">
				<label>更新标题：</label>
				<input type="text" name="title" class="required" value="{$update.title}" />
			</div>
			<div class="unit">
				<label>提示内容：</label>
				<textarea name="content" cols="85" class="required" rows="5">{$update.content}</textarea>
			</div>
            <div class="unit">
                <label>更新开始时间：</label>
                <input name="create_time" type="text" class="date required" datefmt="yyyy-MM-dd HH:mm" readonly="true" value="{$update.create_time|date='Y-m-d H:i',###}">
            </div>
            <div class="unit">
                <label>更新结束时间：</label>
                <input name="update_time" type="text" class="date required" datefmt="yyyy-MM-dd HH:mm" readonly="true" value="{$update.update_time|date='Y-m-d H:i',###}">
            </div>
		</div>
		<input type="hidden" name="id" value="{$update.id}" />
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>